package design.mode.model.builder.tbuilder;

import design.mode.model.builder.common.Builder;
import design.mode.model.builder.product.type.Bike;

/**
 * @author ldanniel
 * @description 具体的构建者：OFO单车
 * @date 2023/21/20:37
 * @since jdk11
 */
public class OfoBuilder extends Builder {

    @Override
    public void buildFrame() {
        bike.setFrame("OfoBuilder -> 铝合金车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("OfoBuilder -> 真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
